const electronPackager = require('electron_packager');
electronPackager.package({
  source: './',
  platform: 'darwin', // At the moment only darwin possible
  target: 'dist', // Default: your/source/directory/..
  name: 'NetCloudMusicNode', // Default: name from package.json
  // icon: 'your/icon/file.icns', // Default: false
  // identifier: 'com.yourapp.yourcompany', // Default: a combination of properties from package.json
  version: 'latest' // Electron version you want to use! Default: 'latest'
  /*required: {
    darwin: darwinResources
  }*/
}, function(err, result) {
  if (err) return console.error(err);
  console.log(result);
});
